:art: Update admin.site.xxx

huangqimin001 4 years ago
parent
commit
4bcb18eb91
1 changed files with 3 additions and 3 deletions
  1. 3 3
      hanyuan/urls.py

+ 3 - 3
hanyuan/urls.py

@@ -49,8 +49,8 @@ if settings.DEBUG:
49 49
     urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
50 50
 
51 51
 # AdminSite
52
-admin.site.site_header = 'Django administration'
53
-admin.site.site_title = 'Django site admin'
52
+admin.site.site_header = '【函院网络分院】后台管理系统'
53
+admin.site.site_title = '【函院网络分院】后台管理系统'
54 54
 # Make site_url/index_title None to hidden
55 55
 admin.site.site_url = '/'
56
-admin.site.index_title = 'Site administration'
56
+admin.site.index_title = '函院网络分院'